package com.example.simplejson4android.clazz;

public class UserInfo {
	private String userId; // 用户ID
	private String userName;// 用户名
	private String gender;// 性别 01 帅哥 02 美女
	private String phoneNo;// 手机号码
	private String avatar;// 头像地址
	private String following;// “0”:我还未关注此用户 “1”:”我已经关注此用户”
	private String followMe; // “0”:此用户还没关注了我 “1”：“ 此用户关注了我”
	private int makeNum = 0; // 用户制作的作品数
	private int collectNum = 0; // 用户收藏的视频数
	private int followNum = 0; // 用户关注的人数
	private int fansNum = 0;// 用户粉丝数
	private int loveNum; // 点赞数

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getFollowing() {
		return following;
	}

	public void setFollowing(String following) {
		this.following = following;
	}

	public String getFollowMe() {
		return followMe;
	}

	public void setFollowMe(String followMe) {
		this.followMe = followMe;
	}

	public int getMakeNum() {
		return makeNum;
	}

	public void setMakeNum(int makeNum) {
		this.makeNum = makeNum;
	}

	public int getCollectNum() {
		return collectNum;
	}

	public void setCollectNum(int collectNum) {
		this.collectNum = collectNum;
	}

	public int getFollowNum() {
		return followNum;
	}

	public void setFollowNum(int followNum) {
		this.followNum = followNum;
	}

	public int getFansNum() {
		return fansNum;
	}

	public void setFansNum(int fansNum) {
		this.fansNum = fansNum;
	}

	public int getLoveNum() {
		return loveNum;
	}

	public void setLoveNum(int loveNum) {
		this.loveNum = loveNum;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public boolean isMale() {
		return "m".equals(gender) || "01".equals(gender);
	}

}
